<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="../jquery-1.7.2.js"></script>
<script>
    function my(){
        var Num = 10;
        function show(){
           alert(Num)
        }
        return show();
    }
    var call = my();
    my();

</script>
</body>
</html>